/******************************************************************************
 * @File name   :      MappingConstant.java
 *
 * @Author      :      Gu Yifeng
 *
 * @Date        :      2011-11-10
 *
 * @Copyright Notice: 
 * Copyright (c) 2014 DMS, Inc. All  Rights Reserved.
 * This software is published under the terms of the DMS Software
 * License version 1.0, a copy of which has been included with this
 * distribution in the LICENSE.txt file.
 * 
 * 
 * ----------------------------------------------------------------------------
 * Date                   Who         Version        Comments
 * 2011-11-10 下午7:59:23        Gu Yifeng     1.0            Initial Version
 *****************************************************************************/
package com.cap.bts.framework.controller.constant;

import java.util.HashMap;
import java.util.Map;

/**
 *
 */
public class MappingConstant {
	
	private static Map<Integer,String> map = new HashMap<Integer,String>();
	public final static String competitorFactory = "vehicleInfo";
	public final static int defaultCompetitorFactoryParentId = 260;
	private final static int actualCompetitorFactoryParentId = 2;
	private MappingConstant(){}
	
	static{
		map.put(260,"vehicleInfo");
	}
		
	public static String getCompetitorVehicleCode(Integer competitorVehId){
		return map.get(competitorVehId);
	}
	
	public static String getCompetitorFactoryActualParentId(){
		return String.valueOf(actualCompetitorFactoryParentId);
	}

}
